home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / Xaw / SmeLineP.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  2KB  |  76 lines

  1. /*
  2.  * $Xorg: SmeLineP.h,v 1.4 2001/02/09 02:03:46 xorgcvs Exp $
  3.  *
  4. Copyright 1989, 1998  The Open Group
  5.  
  6. Permission to use, copy, modify, distribute, and sell this software and its
  7. documentation for any purpose is hereby granted without fee, provided that
  8. the above copyright notice appear in all copies and that both that
  9. copyright notice and this permission notice appear in supporting
  10. documentation.
  11.  
  12. The above copyright notice and this permission notice shall be included in
  13. all copies or substantial portions of the Software.
  14.  
  15. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  18. OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  19. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  20. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  21.  
  22. Except as contained in this notice, the name of The Open Group shall not be
  23. used in advertising or otherwise to promote the sale, use or other dealings
  24. in this Software without prior written authorization from The Open Group.
  25.  *
  26.  * Author:  Chris D. Peterson, MIT X Consortium
  27.  */
  28. /* $XFree86: xc/lib/Xaw/SmeLineP.h,v 1.7 2001/01/17 19:42:31 dawes Exp $ */
  29.  
  30. #ifndef _XawSmeLineP_h
  31. #define _XawSmeLineP_h
  32.  
  33. /*
  34.  * SmeLine Widget Private Data
  35.  */
  36. #include <X11/Xaw/SmeP.h>
  37. #include <X11/Xaw/SmeLine.h>
  38.  
  39. /* New fields for the SmeLine widget class */
  40. typedef struct _SmeLineClassPart {
  41.     XtPointer extension;
  42. } SmeLineClassPart;
  43.  
  44. /* Full class record */
  45. typedef struct _SmeLineClassRec {
  46.     RectObjClassPart    rect_class;
  47.     SmeClassPart    sme_class;
  48.     SmeLineClassPart    sme_line_class;
  49. } SmeLineClassRec;
  50.  
  51. extern SmeLineClassRec smeLineClassRec;
  52.  
  53. /* New fields for the SmeLine widget */
  54. typedef struct {
  55.     /* resources */
  56.     Pixel foreground;        /* Foreground color */
  57.     Pixmap stipple;        /* Line Stipple */
  58.     Dimension line_width;    /* Width of the line */
  59.  
  60.     /* private */
  61.     GC gc;            /* Graphics context for drawing line */
  62. #ifndef OLDXAW
  63.     XtPointer pad[4];    /* for future use and keep binary compatability */
  64. #endif
  65. } SmeLinePart;
  66.  
  67. /* Full instance record */
  68. typedef struct _SmeLineRec {
  69.     ObjectPart    object;
  70.     RectObjPart    rectangle;
  71.     SmePart    sme;
  72.     SmeLinePart    sme_line;
  73. } SmeLineRec;
  74.  
  75. #endif /* _XawSmeLineP_h */
  76.